﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace DataCom
{
    public interface IPositionLogAccess
    {
        DataTable GetPositionLogSummary(string from, string to, string line, string shift, string position);

        DataTable GetPositionLog(string from, string to, string line, string shift, string position);

        void UpdatePositionLogByKey(string lineCode,
                                    string logDate,
                                    string shift,
                                    string logTime,
                                    string type,
                                    string sPositionID,
                                    string fPositionID,
                                    string stopTime,
                                    string helpTime,
                                    string alarmTime);

        void UpdatePositionLogTempByKey(string lineCode,
                                        string logDate,
                                        string shift,
                                        string logTime,
                                        string type,
                                        string sPositionID,
                                        string fPositionID,
                                        string stopTime,
                                        string helpTime,
                                        string alarmTime);
    
    }
}
